﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness 
{
    /// <summary>
    /// 规则项服务接口
    /// </summary>
    public interface IRuleItemService
    {
        string Add(T_RuleItem model);

        bool SaveOrUpdate(string ruleId, List<T_RuleItem> list);

        bool Delete(List<string> ids);

        bool Update(T_RuleItem model);

        T_RuleItem GetById(string id);

        List<T_RuleItem> GetList(string ruleID);

        PageData<T_RuleItem> Query(string ruleID, string casNo, string ecNO, string cName, string eName, PageInfo page);
    }
}
